import request from '@/utils/request'

// 获取一级类目-PC
export const getCategory = (data) => {
  return request('/category', 'get', data)
}

// 获取全部分类
export const getCategoryAll = () => {
  return request('/home/category/head', 'get')
}
